function [ similarityVal ] = CompVertSimilarity( vSignature1, vSignature2 )

global m_DescriptorSigma;

inv = 1.0 / (2.0 * m_DescriptorSigma * m_DescriptorSigma);

% Compute the descriptor distance between vertices k and i
diff=vSignature1-vSignature2;
d=sqrt(diff*diff');
similarityVal = exp(- d * d * inv);

end